The Evolution of C++: 1985 to 1989

نویسنده

  • Bjarne Stroustrup
چکیده

The Ct+ Programming Language [Stroustrup 1986] describes Cr+ as defrned and implemented in August 1985. This paper describes the growth of the language since then and clarifies a few points in the defrnition. It is emphasized that these language modifications are extensions; Cr+ has been and will remain a stable language suitable for long term software development. The main new featurei of Cr-+ are: multiple inheritance, type-safe linkage, better resolution of overloaded functions, recuriive definition of assignment and initialization, better facilities for user-defrned memory management , abstract classes, static member functions, const member functions, protected members, overloading of operator->, and pointers to members. These features are provided in the 2.0 release of Cr+. This paper is a revised and expanded version of a paper with a similar title. As promised in The C++ Programming Language, C++ has been evolving to meet the needs of its users. This evolution has been guided by the experience of users of widely varying backgrounds working in a great range of application areas. The primary aim of the extensions has been to enhance C++ as a language for data abstraction and object-oriented programming IStroustrup I 987a] in general and to enhance it as a tool for writing high-quality libraries of user-defined types in particular. By a high-quality library I mean a library that provides a concept to a user in the form of one or more classes that are convenient, safe, and efficient to use. In this context, safe means that a class provides a specific type-secure interface between the users of the library and its providers ; fficient means that use of the class does not impose large overhead in run-time or space on the user compared with hand written C code. Portability of at least some C+r implementations is a key design goal. Consequently, extensions that would add significantly to the porting time or to the demands on resources for a Cr+ compiler have been avoided. This ideal of language evolution can be contrasted with plausible alternative directions such as making programming convenient o at the expense of efficiency or structure;. for novices at the expense of generality;. in a specific application area by adding special purpose features to the language;. by adding language features to increase integration into a specific C++ environment. 192 Bjarne Stroustrup For some ideas of where these ideas of language evolution might lead C+r see Stroustrup 1987a, b; …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

BIRTH AND DEATH INDICATORS IN THE ISLAMIC REPUBLIC OF IRAN IN 1984 AND 1986

Birth and death indicators were examined through retrospective surveys conducted in 1985 and 1987 in the Islamic Republic of lran, reviewing 1984 and 1986 events, to obtain infant mortality rate (IMR) and other necessary indicators for health planning and evaluation. Comparison between 1985 and 1987 surveys revealed: 1. No major change in crude death rate ( 6.3 per 1000 in 1987 survey) had...

متن کامل

Evaluation of the Effect of Health Sector Evolution Plan on the Rate of Cesarean Sections in Hospitals Affiliated to Abadan School of Medical Sciences

Introduction and purpose: One of the health sector evolution plan's goals is to reduce the rate of cesarean section (C-section) and increase the natural childbirth rate. Therefore, this study aimed to evaluate the rate of C-sections before and after the implementation of the health sector evolution plan in the hospitals affiliated to Abadan School of Medical Sciences, Abadan, Iran. Methods: Th...

متن کامل

Detection and Significance of Active Metabolites of Agrochemicals and Related Xenobiotics in Animals

Chairman: 1987-89 R. J. Hemingway (UK); 1989-1993 E. Dorn (FRG); Secretary: 1985-89 T. R. Roberts (UK); 1989-1993 P. T. Holland (New Zealand); Titular Members: N. Aharonson (Israel; 1983-89); A. Ambrus (Hungary; 1983-91); L. A. Golovleva (USSR; 1985-1991); R. M. Hollingworth (USA; 1989-1993); J. V. Vonk (Netherlands; 1985-89); N. Kurihara (Japan; 1989-1993); G. D. Paulson (USA; 1989-1993); Asso...

متن کامل

Evolution of texture in an ultrafine and nano grained magnesium alloy

The evolution of texture was discussed during the formation of ultra-fine and nano grains in a magnesium alloy severely deformed through accumulative back extrusion (ABE). The microstructure and texture obtained after applying multiple deformation passes at temperatures of 100 and 250°C were characterized. The results showed that after single ABE pass at 100°C an ultrafine/nano grained microstr...

متن کامل

Cartography and Diachronic Study of the Naama sabkha (Southwestern Algeria) Remotely Sensed Vegetation Index and Soil Properties

The present study focuses on the past (1985) and current (2018) status of the Naama’s Sabkha, particularly its salinity, vegetation, and water status. The acquired results will be useful for the preservation of Sabkha biodiversity. The representative sampling allowed us to make 136 soil samples over two depths: topsoil (0-4 cm) and down soil (4-30 cm) layers. The salinity analyses revealed that...

متن کامل

Effect of temperature on kinetics of the hydrogen evolution reaction on Ni-P-C cathodes in alkaline solution

The kinetics of hydrogen evolution reaction (HER) was studied in 1M NaOH at various temperatures (298 to 358 K) on Ni-P-C (composite electrodes. The electrochemical efficiency of the electrodes has been evaluated on the basis of electrochemical data obtained from the steady-state polarization Tafel curves, electrochemical impedance spectroscopy (EIS) and cyclic voltammetry (CV) in 1M NaOH solut...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Computing Systems

دوره 2  شماره 

صفحات  -

تاریخ انتشار 1989